#ifndef HISTOGRAM_H
#define HISTOGRAM_H
#include <QImage>


class Histogram{
	protected:
	QImage *ownerImage;
	public:
	Histogram();
	Histogram(QImage* im);


        //Histogram(LImage);
	~Histogram();
	void setOwnerImage(QImage *im);
        QImage* getOwnerImage();
        QImage getHistImage();

        virtual void calcHistogram()=0;
        virtual QImage calcHistImage()=0;
        virtual   void   calcCDF()=0;
};
#endif //HISTOGRAM_H
